package process_control;

import java.util.Scanner;

public class P3_4StructControl {
    public static void main(String[] args) {
        /**
         * 顺序结构
         * ...
         */

        /**
         * 选择结构
         * if... {}
         * if... {} else {}
         */

        System.out.println("Please Input: ");
        Scanner scn = new Scanner(System.in);
        String s = scn.nextLine();

        if( s.equals("hello")) {
            System.out.println("Hello, TOO!!!");
        }
        else {
            System.out.println("End....");
        }


        scn.close();


        /**
         * 循环结构
         *
         */















    }
}
